
package neteasefilters.filters;


public class CvInkWell implements IImageFilter {

    @Override
    public Image process(Image inImg) {
        int w = inImg.getWidth();
        int h = inImg.getHeight();

        inImg.updateColorArray();
        int[] pix = inImg.getColorArray();

        LibCvFilter.CvInkwell(pix, w, h);
        inImg.setColorArray(pix);

        return inImg;
    }
}
